<form class="pure-form pure-form-aligned" method="post" action="<?php echo URL; ?>login/signin">
	<fieldset>
		<legend>
			Login
		</legend>
		<div class="pure-control-group">
			<label for="name">Username</label>
			<abbr title="3-16 Characters (Letters and numbers only)">
				<input id="name" type="text" name="login" placeholder="Username" required pattern="[A-Za-z0-9]{3,16}"/>
			</abbr>
		</div>

		<div class="pure-control-group">
			<label for="password">Password</label>
			<abbr title="5-16 Characters (Letters and numbers only)">
				<input id="password" type="password" name="password" placeholder="Password" required pattern="[A-Za-z0-9]{5,16}"/>
			</abbr>
		</div>
		
		<div class="pure-controls">
		    <?php 
		      if ( $this->error)
		          echo '<h4 style="color: red;">Wrong Username and/or Password</h4>';
		    ?>
		    <label for="remember" class="pure-checkbox">
                <input id="remember" name="remember" type="checkbox"> Remember me
            </label>
            
			<button type="submit" class="pure-button pure-button-primary">
				Submit
			</button>
		</div>
	</fieldset>
</form>

<form class="pure-form pure-form-aligned" >
    <fieldset>
        <legend></legend>
        <div class="pure-control-group">
           <a href="#">Forgot your username or password?</a>
           <p>
                To Register &nbsp; <a class="pure-button" href="<?php echo URL; ?>login/signup">Sign Up</a>
           </p>
        </div>
        </fieldset>
</form>
        

